package com.medical.medical.service.doctorManageService;

import com.medical.medical.entity.Doctor;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface DoctorManageService {


    /**
     * @param
     * @description: 查询科室中的所有医生
     * @author: 皮皮虾
     * @date: 2022/9/14
     * @return:
     */
    public List<Doctor> allDoctor();

    /**
     * @param
     * @description:根据医生id查询医生详细信息
     * @author: 皮皮虾
     * @date: 2022/9/14
     * @return:
     */
    public Doctor listDoctor(String dId);

    /**
     * @param
     * @param
     * @param s
     * @description:添加医生信息
     * @author: 皮皮虾
     * @date: 2022/9/14
     * @return:
     */
    public int addDoctor(String dName,
                         String dAge,
                         String dGender,
                         String dDesc,
                         String dPost,
                         String dDepartment,
                         String password,
                         String registrationFee,
                         String dHospital,
                         String dAccount,
                         String phone);


    /**
     * @param
     * @description:根据医生id修改医生信息
     * @author: 皮皮虾
     * @date: 2022/9/14
     * @return:
     */
    public int reviseDoctor(String dName,
                            String dId,
                            String dAge,
                            String dGender,
                            String dPost,
                            String dDesc,
                            String dHospital,
                            String dDepartment);

    /**
     * @param
     * @description:根据医生id删除医生信息
     * @author: 皮皮虾
     * @date: 2022/9/14
     * @return:
     */
    public int delDoctor(String dId);

}
